<template lang="html">
   <div class="btn-getMore" @click="getMore('getActivityData')">
      <span>加载更多</span>
   </div>
</template>

<script>
export default {
   methods:{
      getMore(type){
         this.$store.commit(type);
      }
  }
}
</script>

<style lang="css" scoped>
.btn-getMore{
   font-size: .4rem;
   padding: .15rem 0;
   text-align: center;
}
.btn-getMore span{
   display: inline-block;
   color: #ffa800;
   padding: .1rem .5rem;
   border: 1px solid;
}
</style>
